package com.liangdemo.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liangdemo.web.tree.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Name LiangErLe
 * @date 2022/6/21 13:32
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    @Select("Select id ,p_id,name from menu")
    public List<Menu> selectByAll();
}
